package payroll25.trans;

import payroll25.classification.HourlyClassification;

public class ChangeHourlyTrasaction extends ChangeClassificationTransaction {

    private double hourlyRate;

    public ChangeHourlyTrasaction(int empId, double hourlyRate) {
        super(empId);
        this.hourlyRate = hourlyRate;
    }
    @Override
    protected HourlyClassification getPaymentClassification() {
        return new HourlyClassification(hourlyRate);
    }
}
